﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%: ViewData["Message"] %></h2>
    <p>
        Xin Chào: <span style="color: Blue">
            <% if (Session["UserName"] != null)
               {%>
            <%: Session["UserName"].ToString()%>
            <%}
               else Response.Redirect("/User/Login"); %>
        </span>
        <%: Html.ActionLink("thoát","Logout", "User") %>
        <br />
        <%:Html.ActionLink("Nạp thẻ", "Index", "Cardbill") %>
          <%:Html.ActionLink("Đổi mật khẩu","ChangePassWord","User") %><br />

    </p>
</asp:Content>
